package com.caldremch.mapper;

import com.caldremch.User;
import com.caldremch.UserQueryVo;
import com.caldremch.pojo.UserCustom;

import java.util.List;

/**
 * Created by Caldremch on Mac 2017/2/21 22:18.
 */
public interface UserMapper {



    /**
     * 根据id查询用户信息
     * @param id
     * @return
     * @throws Exception
     */
    public User findUserById(int id) throws Exception;
    public List<UserCustom> findUserList(UserQueryVo userQueryVo) throws Exception;
    public User findUserByIdResultMap(int id) throws Exception;


//    public User findUserByName(int id) throws Exception;
//
//    /**
//     * 添加用户信息
//     * @param user
//     * @return User
//     * @throws Exception
//     */
//    public void inserUser(User user) throws Exception;
//
//    /**
//     * 删除用户
//     * @param id
//     * @return
//     * @throws Exception
//     */
//    public void deleteUser(int id) throws Exception;
//
//

}
